<?php
/**
 * Created by PhpStorm.
 * User: ASUS
 * Date: 2018/8/27
 * Time: 11:04
 */

namespace app\admin\model\admin;


use app\admin\model\Base;
use think\Model;

class Role extends Base
{
    protected $name='admin_group';
    protected $validate=null;

    public function setStatusAttr($value){
        if(is_null($value)){
            return 1;
        }
        return $value;
    }
}